find the horizontal and vertical compressions

join shbcf.ru